package x.zero.mapper;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.Param;
import x.zero.pojo.entity.*;

import java.util.List;

/*
*
* gen by beetlsql3 mapper 2021-01-15
*/
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<SysPermission> listMenuByUserId(Long id);

    List<SysPermission> getPermissionListByUserId(Long id);

    List<SysPermission> getPermissionList(Long roleId);


    List<SysPermission> listUserPerms(Long id);
}
